﻿<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf"%>
<%@ page session="true"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CDMS-city delivery</title>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/style.css" />">
</head>
<body>
	<section class="banner position-relative" id="home">
		<jsp:include page="../Header_act.jsp" />


		<div class="container">
			<div class="banner-text">
				<div class="slider-info">
					<div class="agileinfo-logo mt-lg-5">
						<h2>
							CDMS—— <br> 同城配送系统
						</h2>
					</div>
				</div>
			</div>
		</div>
	</section>
	<div class="col-md-12 column" style="width: 100%; text-align: center">
		<h1>修改其他管理员信息</h1>
		| <a href="<c:url value="/manager/managers" />">返回管理员列表</a> |
		<sf:form method="POST" action="change" commandName="manager"
			style="width: 100%; text-align: center">
			<c:if test="${not empty msg}">
				<p style="color: red">${msg }</p>
			</c:if>
			<br />
			<br />
	&nbsp;&nbsp;&nbsp;用户名：<sf:input path="userName" readonly="true" />
			<sf:errors path="userName" cssClass="error" />
			<br />
			<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密码：<sf:password path="password" placeholder="无输入则不修改密码" />
			<sf:errors path="password" cssClass="error" />
			<br />
			<br />
    
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓名：<sf:input path="fullName" />
			<sf:errors path="fullName" cssClass="error" />
			<br />
			<br />

	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;邮箱：<sf:input path="email" />
			<sf:errors path="email" cssClass="error" />
			<br />
			<br />
	
	电话号码：<sf:input path="phoneNo"
				onkeyup="this.value=this.value.replace(/\D/g,'')" />
			<sf:errors path="phoneNo" cssClass="error" />
			<br />
			<br />
			<input type="submit" value="修改" />
		</sf:form>
	</div>
	<jsp:include page="../Footer_act.jsp" />
</body>
</html>
